<?php

  session_start();

  session_register('count');

  $_SESSION[count]++;

  $msg= "<p>Bạn đã refresh trang này $_SESSION[count] lần. Cảm ơn!</p>";

  require_once("mysql.php");
?>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><?php
require_once("head.php");
?>
<script src="jquery.min.js" type="text/javascript"></script>
</head>
<body>
 <?php
  require_once("java.php");
 ?>
<div id="container">
 <?php
  require_once("menu.php");
  
?>

  <div id="header">
  <?php
  require_once("header.php");
  
?>
  </div>

  <div id="content">
    <div id="content_left">
    
    <?php
  require_once("trai.php");

?>
     
			
      <div class="content_left_section">  <a href="./index.html"><img style="border:0;width:180px;height:60px"  src="images/2con_meo.gif" alt="" vspace="8" border="0" /></a> </div>
    </div>
    <!-- end of content left -->
    <div id="content_right">
    
    
	<?php
  require_once("mysql.php");
$sql="select * from members order by id desc";
$query=mysql_query($sql);
if(mysql_num_rows($query) > 0)
{
	while($row=mysql_fetch_array($query))
	{
	
		echo "<font color=#fffff12><b>Thành viên thứ $row[id] <br> Tên đăng nhập: $row[username]</b><br></font>";
		echo "Tên thật: <font color=FF0123><b>$row[Name]:</b><br></font>";
    	echo "Địa chỉ mail: <font color=#FF0123> $row[email] <br></font>";
        echo "Nick yahoo: <font color=FF0123> $row[yahoo] <br></font>";
        echo "Số điện thoại: <font color=#FF0123> $row[sdt] <br></font>";

        echo "Sinh nhật: <font color=#fffff12> $row[Birthday]<br></font>";
        echo "Dang ki vao luc: <font color=#fffff12> $row[time] </font>";
        echo "Ngay <font color=#fffff12> $row[date]<hr></font>";

	}
}
		
?>    <div class="cleaner">&nbsp;</div>
      </div>
      <div class="cleaner_with_height">&nbsp;</div>
      </div>
    <!-- end of content right -->
    <div class="cleaner_with_height">&nbsp;</div>

  <!-- end of content -->
    <?php
  require_once("end.php");

?>
<!-- end of container -->
</body>
</html>
